<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('salary/salary_benchmark_data/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-success btn-import {:$auth->check('salary/salary_benchmark_data/import')?'':'hide'}" title="导入" >导入</a>
                        <a href="/uploads/20230822/0b3ac8d8340d9fb07ad47697cd1d6460.xlsx" class="btn btn-success {:$auth->check('salary/salary_benchmark_data/import')?'':'hide'}" title="下载模板" >下载模板</a>
                        <?php if(isset($_GET['type']) && $_GET['type'] == 1){ ?>
                            <?php if($admin_check_auth == 1){ ?>
                                <a href="javascript:;"  data-type="pass" class="btn batch-examine btn-success btn-disabled disabled {:$auth->check('salary/salary_benchmark_data/batch_examine')?'':'hide'}" title="批量通过I" >批量通过I</a>
                                <a href="javascript:;"  data-type="reject" class="btn batch-examine btn-primary btn-disabled disabled {:$auth->check('salary/salary_benchmark_data/batch_examine')?'':'hide'}" title="批量拒绝I" >批量拒绝I</a>
                            <?php } ?>
                            <?php if($admin_check_auth == 2){ ?>
                                <a href="javascript:;"  data-type="pass" class="btn batch-examine_two btn-success btn-disabled disabled {:$auth->check('salary/salary_benchmark_data/batch_examine_two')?'':'hide'}" title="批量通过II" >批量通过II</a>
                                <a href="javascript:;"  data-type="reject" class="btn batch-examine_two btn-primary btn-disabled disabled {:$auth->check('salary/salary_benchmark_data/batch_examine_two')?'':'hide'}" title="批量拒绝II" >批量拒绝II</a>
                            <?php } ?>
                        <?php } ?>
                        <input type="hidden" id="admin_check_auth" value="{$admin_check_auth}">
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-first_trial_pass_through="{:$auth->check('salary/salary_benchmark_data/first_trial_pass_through')}"
                           data-operate-first_trial_reject="{:$auth->check('salary/salary_benchmark_data/first_trial_reject')}"
                           data-operate-end_trial_pass_through="{:$auth->check('salary/salary_benchmark_data/end_trial_pass_through')}"
                           data-operate-end_trial_reject="{:$auth->check('salary/salary_benchmark_data/end_trial_reject')}"
                           data-operate-del="{:$auth->check('salary/salary_benchmark_data/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
